//
//  FZ_BoFang_TwoCell_XiangQing_Cell_Low.m
//  ProjectOfBStage
//
//  Created by dllo on 15/11/14.
//  Copyright © 2015年 cuixin. All rights reserved.
//

#import "FZ_BoFang_TwoCell_XiangQing_Cell_Low.h"
#import <UIImageView+WebCache.h>
#import "BaseHeader.h"
@interface FZ_BoFang_TwoCell_XiangQing_Cell_Low ()
@property (retain, nonatomic) IBOutlet UIButton *buttonAnimation;
@property (nonatomic , retain) UITapGestureRecognizer *Tap;
@end
@implementation FZ_BoFang_TwoCell_XiangQing_Cell_Low

- (IBAction)buttonAnimant:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    if (sender.isSelected) {
        [self.delegateIsSelected buttonIsSelected:nil];
    }
    else{
        [self.delegateIsSelected buttonIsSelected:nil];

    }

}

-(void)setJieShouModel:(FZ_RootModelR *)JieShouModel{
    if (_JieShouModel != JieShouModel) {
        [_JieShouModel release];
        _JieShouModel = [JieShouModel retain];
    }
    [self.imageViewTuPIan sd_setImageWithURL:[NSURL URLWithString:JieShouModel.pic] placeholderImage:WAIT_PICTURE];
    self.labelTitle.text = JieShouModel.name;
//    self.labelName.text = [JieShouModel.user objectForKey:@"name"];
}
- (void)awakeFromNib {
  
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)dealloc {
    [_imageViewTuPIan release];
    [_labelTitle release];
    [_labelName release];
    [_buttonAnimation release];
    [super dealloc];
}
@end
